package com.zhuanzhuan.service;

import com.zhuanzhuan.entity.User;
import com.zhuanzhuan.vo.GoodsDetail;

public interface UserService {
    public User login(String name, String pwd);
    public void listUserGoods(User user);
    public void addNewGoods(User user);
    public void listGoods(User user, int type);
    public boolean buyGoods(User buyer, GoodsDetail goods);
}
